//
// Caprice32 error define
//

#ifndef _ERROR_H_
#define _ERROR_H_

#define ERR_OK						0
#define ERR_INPUT_INIT				1
#define ERR_VIDEO_INIT				2
#define ERR_VIDEO_SET_MODE			3
#define ERR_VIDEO_SURFACE			4
#define ERR_VIDEO_PALETTE			5
#define ERR_VIDEO_COLOUR_DEPTH		6
#define ERR_AUDIO_INIT				7
#define ERR_AUDIO_RATE				8
#define ERR_OUT_OF_MEMORY			9
#define ERR_CPC_ROM_MISSING			10
#define ERR_NOT_A_CPC_ROM			11
#define ERR_ROM_NOT_FOUND			12
#define ERR_FILE_NOT_FOUND			13
#define ERR_FILE_BAD_ZIP			14
#define ERR_FILE_EMPTY_ZIP			15
#define ERR_FILE_UNZIP_FAILED		16
#define ERR_SNA_INVALID				17
#define ERR_SNA_SIZE				18
#define ERR_SNA_CPC_TYPE			19
#define ERR_SNA_WRITE				20
#define ERR_DSK_INVALID				21
#define ERR_DSK_SIDES				22
#define ERR_DSK_SECTORS				23
#define ERR_DSK_WRITE				24
#define MSG_DSK_ALTERED				25
#define ERR_TAP_INVALID				26
#define ERR_TAP_UNSUPPORTED			27
#define ERR_TAP_BAD_VOC				28
#define ERR_PRINTER					29
#define ERR_BAD_MF2_ROM				30
#define ERR_SDUMP					31

#define MSG_SNA_LOAD				32
#define MSG_SNA_SAVE				33
#define MSG_DSK_LOAD				34
#define MSG_DSK_SAVE				35
#define MSG_JOY_ENABLE				36
#define MSG_JOY_DISABLE				37
#define MSG_SPD_NORMAL				38
#define MSG_SPD_FULL				39
#define MSG_TAP_INSERT				40
#define MSG_SDUMP_SAVE				41
#define MSG_PAUSED					42
#define MSG_TAP_PLAY				43
#define MSG_TAP_STOP				44

#endif
